package cn.tedu.egmvc02.mapper;

import cn.tedu.egmvc02.pojo.dto.AddressDto;
import cn.tedu.egmvc02.pojo.entity.Address;

import java.util.List;

public interface AddressMapper {
    int insertAddress(AddressDto addressDto);

    int deleteAddress(Integer aid);

    int updateAddress(Address address);

    List<Address> selectAllAddress();

    Address selectAddress(Integer aid);
}
